package com.ims.core.inconfig.domain;

import com.ims.common.annotation.Excel;
import com.ims.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 进项系统管理对象 t_in_config
 *
 * @author IMS
 * @date 2024-05-21
 */
public class TInConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 配置ID */
    @Excel(name = "配置ID")
    private String configId;

    /** 父级业务方ID */
    @Excel(name = "父级业务方ID")
    private String parentBusinessId;

    /** 公司代码 */
    @Excel(name = "公司代码")
    private String custId;

    /** 公司代码 */
    @Excel(name = "公司代码")
    private String siteCode;

    /** 公司 */
    @Excel(name = "公司")
    private String siteName;

    /** 进项平台编码 */
    @Excel(name = "进项平台编码")
    private Long platCode;

    /** plat_name */
    @Excel(name = "plat_name")
    private String platName;

    /** 进项通道代码 */
    @Excel(name = "进项通道代码")
    private Long isCert;

    /** 进项通道 */
    @Excel(name = "进项通道")
    private String isCertName;

    /** 自动签收代码 */
    @Excel(name = "自动签收代码")
    private Long isAutoSigin;

    /** 自动签收 */
    @Excel(name = "自动签收")
    private String isAutoSiginName2;

    /** 自动查验代码 */
    @Excel(name = "自动查验代码")
    private Long isAutoCheck;

    /** 自动查验 */
    @Excel(name = "自动查验")
    private String isAutoCheckName3;

    /** 业务方归属代码 */
    @Excel(name = "业务方归属代码")
    private Long isPart;

    /** 业务方归属 */
    @Excel(name = "业务方归属")
    private String isPartName;

    /** 自动更新拉取状态代码 */
    @Excel(name = "自动更新拉取状态代码")
    private Long isAutoUpdate;

    /** 自动更新拉取状态 */
    @Excel(name = "自动更新拉取状态")
    private String isAutoUpdateName;

    /** 是否设置开票时间范围代码 */
    @Excel(name = "是否设置开票时间范围代码")
    private Long isApply;

    /** 是否设置开票时间范围 */
    @Excel(name = "是否设置开票时间范围")
    private String isApplyName;

    /** 引允报销最近N月 */
    @Excel(name = "引允报销最近N月")
    private Long months;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setConfigId(String configId)
    {
        this.configId = configId;
    }

    public String getConfigId()
    {
        return configId;
    }
    public void setParentBusinessId(String parentBusinessId)
    {
        this.parentBusinessId = parentBusinessId;
    }

    public String getParentBusinessId()
    {
        return parentBusinessId;
    }
    public void setCustId(String custId)
    {
        this.custId = custId;
    }

    public String getCustId()
    {
        return custId;
    }
    public void setSiteCode(String siteCode)
    {
        this.siteCode = siteCode;
    }

    public String getSiteCode()
    {
        return siteCode;
    }
    public void setSiteName(String siteName)
    {
        this.siteName = siteName;
    }

    public String getSiteName()
    {
        return siteName;
    }
    public void setPlatCode(Long platCode)
    {
        this.platCode = platCode;
    }

    public Long getPlatCode()
    {
        return platCode;
    }
    public void setPlatName(String platName)
    {
        this.platName = platName;
    }

    public String getPlatName()
    {
        return platName;
    }
    public void setIsCert(Long isCert)
    {
        this.isCert = isCert;
    }

    public Long getIsCert()
    {
        return isCert;
    }
    public void setIsCertName(String isCertName)
    {
        this.isCertName = isCertName;
    }

    public String getIsCertName()
    {
        return isCertName;
    }
    public void setIsAutoSigin(Long isAutoSigin)
    {
        this.isAutoSigin = isAutoSigin;
    }

    public Long getIsAutoSigin()
    {
        return isAutoSigin;
    }
    public void setIsAutoSiginName2(String isAutoSiginName2)
    {
        this.isAutoSiginName2 = isAutoSiginName2;
    }

    public String getIsAutoSiginName2()
    {
        return isAutoSiginName2;
    }
    public void setIsAutoCheck(Long isAutoCheck)
    {
        this.isAutoCheck = isAutoCheck;
    }

    public Long getIsAutoCheck()
    {
        return isAutoCheck;
    }
    public void setIsAutoCheckName3(String isAutoCheckName3)
    {
        this.isAutoCheckName3 = isAutoCheckName3;
    }

    public String getIsAutoCheckName3()
    {
        return isAutoCheckName3;
    }
    public void setIsPart(Long isPart)
    {
        this.isPart = isPart;
    }

    public Long getIsPart()
    {
        return isPart;
    }
    public void setIsPartName(String isPartName)
    {
        this.isPartName = isPartName;
    }

    public String getIsPartName()
    {
        return isPartName;
    }
    public void setIsAutoUpdate(Long isAutoUpdate)
    {
        this.isAutoUpdate = isAutoUpdate;
    }

    public Long getIsAutoUpdate()
    {
        return isAutoUpdate;
    }
    public void setIsAutoUpdateName(String isAutoUpdateName)
    {
        this.isAutoUpdateName = isAutoUpdateName;
    }

    public String getIsAutoUpdateName()
    {
        return isAutoUpdateName;
    }
    public void setIsApply(Long isApply)
    {
        this.isApply = isApply;
    }

    public Long getIsApply()
    {
        return isApply;
    }
    public void setIsApplyName(String isApplyName)
    {
        this.isApplyName = isApplyName;
    }

    public String getIsApplyName()
    {
        return isApplyName;
    }
    public void setMonths(Long months)
    {
        this.months = months;
    }

    public Long getMonths()
    {
        return months;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("configId", getConfigId())
            .append("parentBusinessId", getParentBusinessId())
            .append("custId", getCustId())
            .append("siteCode", getSiteCode())
            .append("siteName", getSiteName())
            .append("platCode", getPlatCode())
            .append("platName", getPlatName())
            .append("isCert", getIsCert())
            .append("isCertName", getIsCertName())
            .append("isAutoSigin", getIsAutoSigin())
            .append("isAutoSiginName2", getIsAutoSiginName2())
            .append("isAutoCheck", getIsAutoCheck())
            .append("isAutoCheckName3", getIsAutoCheckName3())
            .append("isPart", getIsPart())
            .append("isPartName", getIsPartName())
            .append("isAutoUpdate", getIsAutoUpdate())
            .append("isAutoUpdateName", getIsAutoUpdateName())
            .append("isApply", getIsApply())
            .append("isApplyName", getIsApplyName())
            .append("months", getMonths())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
